package com.atguigu.gulimall.member.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author : PF_23
 * @Description : 声明式远程调用
 * @date : 2021/5/10 22:18.
 */

@FeignClient("gulimall-coupon")
public interface CouponFeignService {

    /**
     * 会员优惠券查询
     *
     * @return R
     */
    @GetMapping("/coupon/coupon/member/list")
    R memberCoupons();
}